//
//  Student.h
//  Json
//
//  Created by apple on 15/8/24.
//  Copyright (c) 2015年 戴维营. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Student : NSObject

@property (nonatomic ,copy)NSString *name;
@property (nonatomic ,copy)NSString *sex;
@property (nonatomic ,copy)NSArray *books;
@property (nonatomic ,copy)NSString *age;


//添加一些辅助的方法或者属性；
@property (nonatomic ,copy ,readonly)NSString *bookString;

//将对象转换成字典；
- (NSDictionary *)dictionary;

//将字典转换成对象；
+ (instancetype)studentWithDictionary:(NSDictionary *)dict;
@end
